package projeto1;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import java.awt.Color;
import java.awt.SystemColor;

import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.JTextField;

import java.awt.Font;

import javax.swing.JButton;

import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;


public class GerenciarAdm extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					GerenciarAdm frame = new GerenciarAdm();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public GerenciarAdm() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 804, 590);
		contentPane = new JPanel();
		contentPane.setBackground(SystemColor.controlLtHighlight);
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("");
		lblNewLabel.setIcon(new ImageIcon("C:\\Users\\vania\\Desktop\\customLogo.gif.jpg"));
		lblNewLabel.setBounds(10, 0, 671, 168);
		contentPane.add(lblNewLabel);
		
		JLabel lblGerenciarAdministradores = new JLabel("Gerenciar Administradores");
		lblGerenciarAdministradores.setFont(new Font("Arial Black", Font.BOLD, 20));
		lblGerenciarAdministradores.setBounds(35, 239, 341, 34);
		contentPane.add(lblGerenciarAdministradores);
		
		JButton btnNewButton = new JButton("Adc(+)Adm.");
		btnNewButton.setFont(new Font("Arial", Font.PLAIN, 14));
		btnNewButton.setBounds(467, 239, 171, 32);
		
		
		btnNewButton.addActionListener(new ActionListener() {
			//Chama adcADM
			public void actionPerformed(ActionEvent e) {
				AdcAdm adcionar = new AdcAdm();
				adcionar.setVisible(true);
			}
		});
		
		
		contentPane.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("Remover(-)Adm");
		btnNewButton_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnNewButton_1.setFont(new Font("Arial", Font.PLAIN, 14));
		btnNewButton_1.setBounds(467, 300, 171, 34);
		
		
		btnNewButton_1.addActionListener(new ActionListener() {
			//Chama removerADM
			public void actionPerformed(ActionEvent e) {
				RemoverAdm remover = new RemoverAdm();
				remover.setVisible(true);
			}
		});
		
		contentPane.add(btnNewButton_1);
	
		JButton btnNewButton_2 = new JButton("<<< Anterior");
		
		
		btnNewButton_2.addActionListener(new ActionListener() {
			//Chama CADASTRO 
			public void actionPerformed(ActionEvent e) {
				Cadastro cadastro = new Cadastro();
				cadastro.setVisible(true);
			}
		});
		
		btnNewButton_2.setFont(new Font("Arial", Font.PLAIN, 14));
		btnNewButton_2.setBounds(44, 487, 135, 34);
		contentPane.add(btnNewButton_2);
	}
}
